package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author ding
 * @since 2020-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_recharge_type")
public class RechargeTypeDo extends Model<RechargeTypeDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("type_name")
    private String typeName;

    /**
     * 账户名
     */
    @TableField("account_name")
    private String accountName;

    /**
     * 户号
     */
    @TableField("account_number")
    private String accountNumber;

    /**
     * 账户信息
     */
    @TableField("account_info")
    private String accountInfo;

    @TableField("currency")
    private String currency;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
